<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 * 问题类目表
 */
class IssueCategory extends AppModel
{
    //
    //关联问题表
    public function questions(){
        return $this->hasMany(IssueQuestion::class,'issue_category_id')->field('id,issue_question_title,issue_question_type,issue_category_id');
    }
}
